﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NCT.MRS.DataAccessLayer.Entities
{
    public class Client : IEntity
    {
        public Client()
        {
            Gender = (int)EGender.Male;
            IsActive = true;
            IsSenior = false;
            TestRequests = new List<TestRequest>();
        }

        public int Id { get; set; }

        public string RegistrationId { get; set; }
        public string FirstName { get; set; }
        public string LastName { get; set; }
        public string MiddleName { get; set; }
        public int Gender { get; set; }
        public string Phone { get; set; }
        public string Address { get; set; }
        public DateTime DateAdded { get; set; }
        public DateTime DateModified { get; set; }
        public bool IsSenior { get; set; }
        public bool IsActive { get; set; }
        public string ImagePath { get; set; }

        public virtual List<TestRequest> TestRequests { get; set; }

        public int ModifiedByUserId { get; set; }
        public virtual User ModifiedByUser { get; set; }

    }

    public enum EGender
    {
        Male,
        Female
    }
}
